package net.uhuijia.service.goods;


import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import net.uhuijia.model.test.Test;



/**
 * 
 *一个实现了FallbackFactory接口的类TestClientServiceFallbackFactory
 * @author 许小宝
 * @date 2018年7月25日
 */
@FeignClient(value = "MICROSERVICECLOUD-GOODS",fallbackFactory=TestClientServiceFallbackFactory.class)
public interface TestClientService
{
	@RequestMapping(value = "/test/get/{id}", method = RequestMethod.GET)
	public Test get(@PathVariable("id") String id);

}
